package com.example.musicwebcon.model.dto;

import jakarta.validation.constraints.NotBlank;

public class favlistDTO {
    @NotBlank(message = "songListId不能为空")
    private String songListId;
    @NotBlank(message = "songListName不能为空")
    private String songListName;
    @NotBlank(message = "userId不能为空")
    private String userId;
    private String description;
    private String coverUrl;

    public String getSongListId() {
        return songListId;
    }

    public void setSongListId(String songListId) {
        this.songListId = songListId;
    }

    public String getSongListName() {
        return songListName;
    }

    public void setSongListName(String songListName) {
        this.songListName = songListName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    @Override
    public String toString() {
        return "favlist{" +
                "songListId='" + songListId + '\'' +
                ", songListName='" + songListName + '\'' +
                ", userId='" + userId + '\'' +
                ", description='" + description + '\'' +
                ", coverUrl='" + coverUrl + '\'' +
                '}';
    }
}
